{mtemplate '_mheader_base'}
{if !empty($_W['deam_food']['manage']['uid']) && $controller == 'store' && $action == 'index'}
<!--topnav-->
<div class="dm-navbar-header">
	<ul>
		<span class="store-name">{$storeinfo['name']}</span>
		<li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">{$_W['deam_food']['manage']['username']}<span></span></a>
            <ul class="dropdown-menu">
                <!-- <li class="divider"></li> -->
                <li><a onclick="return confirm('确定退出登录？');return false;" href="{php echo manage_url(array('r'=>'user','ac'=>'logout'))}"> 退出登录</a></li>
            </ul>
        </li>
	</ul>
</div>

{/if}